package com.ruoyi.tactics.algorithm;

import com.ruoyi.tactics.ZodiacResult;

import java.util.Arrays;
import java.util.List;

/**
 * 木
 */
public class ElementsTreeAlgorithm extends AbstractAlgorithm {

    private final List<Integer> elements = Arrays.asList(6,7,14,15,22,23,36,37,44,45);

    @Override
    public Boolean isWin(ZodiacResult zodiacResult, String... code) {
        return elements.contains(zodiacResult.getTm());
    }
}
